//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    imgUrls: [
      '/img/index/swipe1.jpg',
      '/img/index/swipe2.jpg',
      '/img/index/swipe3.jpg',
      '/img/index/swipe4.jpg'
    ],
    indicatorDots: true,
    autoplay: true,
    interval: 3000,
    duration: 1000
  },
  onShareAppMessage: function (res) {
    if (res.from === 'button') {
      // 来自页面内转发按钮
      console.log(res.target)
    }
    return {
      title: '潮流服饰',
      path: '/pages/index/index'
    }
  },
  go_banner(){
    wx.navigateTo({
      url: '/pages/index/banner/banner',
    })
  }
})
